﻿<!DOCTYPE html>
<html lang="en-us">

<head>
    <title>民生免费券</title>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <link rel="icon" href="favicon.ico" />
    <link href="css/bootstrap.min.css" rel="stylesheet" />
    <link href="css/font-awesome.min.css" rel="stylesheet" />
    <link href="css/default.css" rel="stylesheet" type="text/css" />
    <script src="js/jquery.min.js"></script>
    <script src="js/bootstrap/bootstrap.min.js"></script>
    <script src="js/bootstrap/bootstrap-table.min.js"></script>
    <script src="js/bootstrap/bootstrap-table-zh-CN.min.js"></script>
    <!--[if lt IE 9]>
    <script src="js/bootstrap/html5shiv.min.js"></script>
    <script src="js/bootstrap/respond.min.js"></script>
    <![endif]-->
    <!--页面加载进度条-->
    <link href="css/pace/dataurl.css" rel="stylesheet" />
    <script src="js/pace/pace.min.js"></script>
    <script src="js/jquery.scrolltopcontrol/scrolltopcontrol.js" type="text/javascript"></script>
    <script src="js/jquery.extend.js" type="text/javascript"></script>
    <script src="js/default.js" type="text/javascript"></script>
    <script src="js/jqueryrotate.js" type="text/javascript"></script>
    <script src="js/fileServer.js"></script>
    <!-- artTemplate 模板引擎 -->
    <script src="js/template-web.js" type="text/javascript"></script>
    <!-- excel导出操作-->
    <script src="js/exportTable.js"></script>
    <link href="pagecss/coupon-review.css" rel="stylesheet" />
    <script src="pagejs/jquery.mousewheel.min.js"></script>
</head>

<body>
<div class="maincontent">
    <!--我是主要内容-->
    <div class="panel panel-default">


        <div class="panel-heading">
            查询条件
        </div>
        <div class="panel-body form-group" style="margin-bottom:0px; position:relative;">
            <div class="params-warpper">
                <div class="params-item">
                    <label class="control-label">姓名：</label>
                    <input type="text" placeholder="请输入姓名" class="form-control value" id="search-name" />
                </div>
                <div class="params-item">
                    <label class="control-label">领取开始时间：</label>
                    <input type="date" class="form-control value" id="search-start-time" />
                </div>
                <div class="params-item">
                    <label class="control-label">使用开始时间：</label>
                    <input type="date" class="form-control value" id="search-usedStartTime" />
                </div>
            </div>
            <div class="params-warpper">
                <div class="params-item">
                    <label class="control-label">区/县：</label>
                    <select name="search-country" id="search-country" class="form-control value"></select>
                </div>
                <div class="params-item">
                    <label class="control-label">领取结束时间：</label>
                    <input type="date" class="form-control value" id="search-end-time" />
                </div>
                <div class="params-item">
                    <label class="control-label">使用结束时间：</label>
                    <input type="date" class="form-control value" id="search-usedEndTime" />
                </div>
            </div>
            <div class="params-warpper">
                <div class="params-item">
                    <label class="control-label">街道：</label>
                    <select name="search-town" id="search-town" class="form-control value"></select>
                </div>
                <div class="params-item">
                    <label class="control-label">优惠券类型：</label>
                    <select name="search-coupon" id="search-coupon" class="form-control value"></select>
                </div>
                <div class="params-item">
                    <label class="control-label">状态：</label>
                    <select type="text" class="form-control value" id="search-status">
                        <option value=''>请选择状态</option>
                        <option value="0">审批中</option>
                        <option value="1">审批通过</option>
                        <option value="-1">未审批通过</option>
                        <option value="2">已使用</option>
                        <option value="3">已绑定的</option>
                    </select>
                </div>
            </div>
            <div class="params-warpper">
                <div class="params-item">
                    <label class="control-label">身份证号码：</label>
                    <input type="text" placeholder="请输入身份证号码" class="form-control value" id="search-idcard" />
                </div>
                <div class="params-item" style="display: none">
                    <label class="control-label">收费类型：</label>
                    <select name="isCharge" id="isCharge" class="form-control value">
                        <option value="1">免费</option>
                        <option value="2">自费</option>
                    </select>
                </div>
                <div class="params-item"></div>
                <div class="params-item"></div>
            </div>
            <button class="btn btn-primary" id="search-btn">查询</button>
        </div>
    </div>
    <table id="mytab" class="table table-hover"></table>
    <div id="toolbar" class="btn-group pull-right" style="margin-right: 20px;">
        <button id="btn_edit" type="button" class="btn btn-default" style="display: none; border-radius: 0">
            <span class="glyphicon glyphicon-pencil" aria-hidden="true"></span>修改
        </button>
        <button id="btn_delete" type="button" class="btn btn-default" style="display: none;">
            <span class="glyphicon glyphicon-remove" aria-hidden="true"></span>删除
        </button>
        <div style="display: flex;flex-direction: row; align-items: center;">
            <div id="fountainTextG">
                <div id="fountainTextG_1" class="fountainTextG">导</div>
                <div id="fountainTextG_2" class="fountainTextG">出</div>
                <div id="fountainTextG_3" class="fountainTextG">中</div>
                <div id="fountainTextG_4" class="fountainTextG">.</div>
                <div id="fountainTextG_5" class="fountainTextG">.</div>
                <div id="fountainTextG_6" class="fountainTextG">.</div>
                <div id="fountainTextG_7" class="fountainTextG">请</div>
                <div id="fountainTextG_8" class="fountainTextG">稍</div>
                <div id="fountainTextG_9" class="fountainTextG">后</div>
            </div>
        </div>
    </div>
</div>
</div>
<a href="#top" id="goTop">
    <i class="fa fa-angle-up fa-3x"></i>
</a>
<div id="id-card-photo-wrapper">
    <div id="id-card-photo"></div>
    <span class="glyphicon glyphicon-repeat" aria-hidden="true" id="ic-rotate"></span>
    <span class="arrow l">&lt;</span>
    <span class="arrow r">&gt;</span>
</div>
<!-- 模态框（Modal） -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                    &times;
                </button>
                <h4 class="modal-title" id="myModalLabel">
                    转发
                </h4>
            </div>
            <div class="modal-body">
                转发至：
                <select name='' id="countrySelect" onchange="onCountryChange(this.value)">&nbsp;&nbsp;
                </select>
                <select name='' id="steetSelect" onchange="onSteetChange(this.value)">
                </select>
                <div class="markInfo">
                    <span>备注：</span>
                    <textarea  id="markInfo"></textarea>
                </div>
                <div class="markList">
                    <span>转发记录：</span>
                    <div  id="markList"></div>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">
                    关闭
                </button>
                <button type="button" class="btn btn-primary" onclick="transpond();">
                    确认
                </button>
            </div>
        </div>
        <!-- /.modal-content -->
    </div>
    <!-- /.modal -->
</div>
<!-- 模态框（Modal） -->
<div class="modal fade" id="agreeModel" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                    &times;
                </button>
                <h4 class="modal-title" id="myModalLabel">
                    确认批量审核
                </h4>
            </div>
            <div class="modal-body">
                <div class="agree-list">
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">
                    关闭
                </button>
                <button type="button" class="btn btn-primary" style="margin-left:20px;" onclick="agree();">
                    同意
                </button>
                <button type="button" class="btn btn-primary" onclick="disAgree();">
                    不同意
                </button>
            </div>
        </div>
        <!-- /.modal-content -->
    </div>
    <!-- /.modal -->
</div>

<script src="pagejs/coupon-review.js" />


<!-- 要导出的送检单table模板 -->
<script id="table" type="text/html">
    <table border="1" class="tables">
        <tr>
            {{each ths item i}}
            <th>{{item.fieldValue}}</th>
            {{/each}}
        </tr>
        {{each trs item i}}
        <tr>
            {{each item value i}}
            <td>{{value}}</td>
            {{/each}}
        </tr>
        {{/each}}
    </table>
</script>
</body>

</html>